package devices;

import java.util.Hashtable;
import java.util.Vector;

import commands.CommandInterface;

import smarthouse.Room;

public abstract class AbstractDevice {
	int id;
	Room room;
	
	public AbstractDevice(int id, Room room){
		this.id=id;
		this.room = room;
	}
	public abstract Vector<Class<? extends CommandInterface>> getCommands();

	public int getId(){
		return id;
	}
	
	public Room getRoom(){
		return room;
	}
	
	public String getRoomName(){
		return room.getName();
	}
	

}
